package com.tulingxueyuan.mall.modules.oms.mapper;

import com.tulingxueyuan.mall.modules.oms.model.dto.OmsOrderDeliveryParamDTO;
import com.tulingxueyuan.mall.modules.oms.model.dto.OmsOrderDetailDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OmsOrderDao  {
    /**
     * 获取订单详情
     */
    OmsOrderDetailDTO getDetail(@Param("id")Long id);

    /**
     * 批量发货
     */
    int delivery(@Param("list") List<OmsOrderDeliveryParamDTO> deliveryParamList);
}
